﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ShowFriendofUser.ascx.cs" Inherits="Web_Pages_UserControls_ShowFriendofUser" %>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="CollectionPager" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
    .style2
    {
        height: 23px;
    }
</style>
<asp:DataList ID="DataList1" runat="server" Width="205px" 
    onitemcommand="DataList1_ItemCommand">
    <ItemTemplate>
        <table class="style1">
            <tr>
                <td rowspan="3">
                <a href="../WebContents/Profiles.aspx?Username=<%#Eval("user.Username") %>" >

                    <asp:Image ID="Image1" runat="server" Height="98px" 
                        ImageUrl='<%# Eval("Avatar","../../Images/{0}") %>' Width="134px" />
                   </a>

                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style2">
                    </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>



<cc1:CollectionPager ID="CollectionPager1" runat="server" 
     BackText="« Trước" FirstText="-- Đầu" LabelText="Trang:"
      LastText="Cuối" NextText="Sau »" 
    ResultsFormat="Danh sách bạn {0}-{1} (của {2}) " ShowFirstLast="True" 
    SliderSize="5" PagingMode="QueryString" IgnoreQueryString="False">
      </cc1:CollectionPager>
    


